awk -F"|" -vOFS="|" '{A[$1]++;TOTAL++} END{for (i in A){print i, A[i], A[i] * 100 / TOTAL"%"}; print "TOTAL = "TOTAL}' ADDRESS-gcc.txt | sort -t "|" -k 2 -n

